package com.mgface.main;

import com.mgface.export.InterfaceExport;
import com.mgface.impl.InterfaceExportImpl;
import com.mgface.server.Server;

import java.io.IOException;

/**
 * @author wanyuxiang
 * @version 1.0
 * @project Java10Demo
 * @create 2018-08-14 14:08
 **/
public class App {
    public static void main(String[] args) throws IOException {
        var server = new Server();
        server.register(InterfaceExport.class, InterfaceExportImpl.class);
        server.start(8020);
    }
}
